package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 用户标签
 *
 * @author oxiny
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
@TableName("d_user_label")
public class UserLabel extends Model<UserLabel> {
    @TableId(type = IdType.INPUT)
    private Integer userId;

    /**
     * 标签字符串, 以JSON格式存储
     */
    private String labelStr;
}